package org.daidai.abstrusewriting.homepage.live.models;


import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

public class AlbumIdListItem implements Parcelable {
    @SerializedName("trackId")
    private long trackId;
    @SerializedName("uid")
    private long uid;
    @SerializedName("playUrl64")
    private String playUrl64;
    @SerializedName("playUrl32")
    private String playUrl32;
    @SerializedName("title")
    private String title;
    @SerializedName("duration")
    private long duration;
    @SerializedName("albumId")
    private long albumId;
    @SerializedName("coverSmall")
    private String coverSmall;
    @SerializedName("likes")
    private long likes;
    @SerializedName("playtimes")
    private String playtimes;
    @SerializedName("smallLogo")
    private String smallLogo;
    @SerializedName("coverLarge")
    private String coverLarge;
    @SerializedName("nickname")
    private String nickname;

    protected AlbumIdListItem(Parcel in) {
        trackId = in.readLong();
        uid = in.readLong();
        playUrl64 = in.readString();
        playUrl32 = in.readString();
        title = in.readString();
        duration = in.readLong();
        albumId = in.readLong();
        coverSmall = in.readString();
        likes = in.readLong();
        playtimes = in.readString();
        smallLogo = in.readString();
        coverLarge = in.readString();
        nickname = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(trackId);
        dest.writeLong(uid);
        dest.writeString(playUrl64);
        dest.writeString(playUrl32);
        dest.writeString(title);
        dest.writeLong(duration);
        dest.writeLong(albumId);
        dest.writeString(coverSmall);
        dest.writeLong(likes);
        dest.writeString(playtimes);
        dest.writeString(smallLogo);
        dest.writeString(coverLarge);
        dest.writeString(nickname);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<AlbumIdListItem> CREATOR = new Creator<AlbumIdListItem>() {
        @Override
        public AlbumIdListItem createFromParcel(Parcel in) {
            return new AlbumIdListItem(in);
        }

        @Override
        public AlbumIdListItem[] newArray(int size) {
            return new AlbumIdListItem[size];
        }
    };

    public String getSmallLogo() {
        return smallLogo;
    }

    public String getCoverLarge() {
        return coverLarge;
    }

    public void setCoverLarge(String coverLarge) {
        this.coverLarge = coverLarge;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setSmallLogo(String smallLogo) {
        this.smallLogo = smallLogo;
    }

    public long getTrackId() {
        return trackId;
    }

    public void setTrackId(long trackId) {
        this.trackId = trackId;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getPlayUrl64() {
        return playUrl64;
    }

    public void setPlayUrl64(String playUrl64) {
        this.playUrl64 = playUrl64;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPlayUrl32() {
        return playUrl32;
    }

    public void setPlayUrl32(String playUrl32) {
        this.playUrl32 = playUrl32;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public long getAlbumId() {
        return albumId;
    }

    public void setAlbumId(long albumId) {
        this.albumId = albumId;
    }

    public String getCoverSmall() {
        return coverSmall;
    }

    public void setCoverSmall(String coverSmall) {
        this.coverSmall = coverSmall;
    }

    public long getLikes() {
        return likes;
    }

    public void setLikes(long likes) {
        this.likes = likes;
    }

    public String getPlaytimes() {
        return playtimes;
    }

    public void setPlaytimes(String playtimes) {
        this.playtimes = playtimes;
    }
}
